I'm looking through examples of OLE automation, and consistently see the oleGet function wrapped in the checkRes function. |
Re: What's the purpose of checkRes? if (oleGet(foo, bar,) != "") { // error } but the checkRes creates kind of centralized error handling for OLE functions. |